package ru.urfc.portal.dao;

import java.util.Date;
import java.util.List;

import ru.urfc.portal.model.accounting.Balance;
import ru.urfc.portal.model.accounting.InvoiceFacture;
import ru.urfc.portal.model.accounting.Payment;

public interface BalanceDao {

	Balance getLastBalanceBefore(SpectrId contragentId, Integer year, Integer month, Integer day);
	
	List<Balance> getBalances(SpectrId contragentId, Integer fromYear, Integer fromMonth, Integer fromDay,
			Integer toYear, Integer toMonth, Integer toDay);

	List<InvoiceFacture> getInvoiceFactures(SpectrId contragentId, Date fromDate, Date toDate);
	
	List<Payment> getPayments(SpectrId contragentId, Date fromDate, Date toDate);

}
